<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

	class Mensaje_model extends CI_Model {
	public function __construct(){
		parent:: __construct();
		$this->load->database();
	}

	function consultaMensaje(){
		$query = $this->db->get('mensaje');
		if ($query->num_rows() > 0) return $query;
		else return false;
	}
}
?>